# 循环字符串
# str_vale = "hello world"
# for item in str_vale:
#     print(item)

# 循环列表
# list_val = [12,234,56,7,8,23]
# for item in list_val:
#     print(item)

# range函数
sum = 0
for i in range(1,101):
    sum +=i
print(sum)